package com.yf1706.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.yf1706.comm.RowMapper;

public class receiveRowMapper implements RowMapper<receivebean>{

	@Override
	public receivebean mapper(ResultSet rs) throws SQLException {
		receivebean receive=new receivebean();
		receive.setRid(rs.getInt("rid"));
		receive.setRadress(rs.getString("radress"));
		receive.setRphone(rs.getString("rphone"));
		receive.setUid(rs.getInt("uid"));
		receive.setRname(rs.getString("rname"));
		return receive;
	}

}